QT += quick core gui widgets
CONFIG += c++11
TEMPLATE = lib
TARGET = helloword

RESOURCES += helloword.qrc \
    qml.qrc \
    resource.qrc

win32 {
    CONFIG(debug, debug|release) {
        DESTDIR=$$PWD/../package/win/win_debug/plugins
    }
    else {
        DESTDIR=$$PWD/../package/win/win_release/plugins
    }
}
else {
    CONFIG(debug, debug|release) {
        DESTDIR=$$PWD/../package/mac/mac_debug/AnycubicPhotonWorkshop.app/Contents/Frameworks/plugins
    }
    else {
        DESTDIR=$$PWD/../package/mac/mac_release/AnycubicPhotonWorkshop.app/Contents/Frameworks/plugins
    }
}

include(../3rdparty/ctk/ctk.pri)
include(../3rdparty/log4qt/install/log4qt.pri)
include(../common/common.pri)

HEADERS += \
        hellomanager.h \
        helloword.h \
        hellowordactivator.h \
        hellowordhandlemessage.h \
        hellowordimpl.h \
        hellowordservice.h

SOURCES += \
        hellomanager.cpp \
        helloword.cpp \
        hellowordactivator.cpp \
        hellowordhandlemessage.cpp \
        hellowordimpl.cpp

file.path = $$DESTDIR
file.files = MANIFEST.MF
INSTALLS += file
